package com.Test.LoginManager.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.HTMLPanel;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.FormPanel;
import com.google.gwt.user.client.ui.Grid;
import com.google.gwt.user.client.ui.DockPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.LayoutPanel;
import com.google.gwt.user.client.ui.SimplePanel;
import com.google.gwt.dom.client.Style.Unit;
import com.google.gwt.user.client.ui.DecoratorPanel;
import com.google.gwt.user.client.ui.DisclosurePanelImages;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.datepicker.client.DateBox;


public class LoginManager implements EntryPoint {

	public void onModuleLoad() {
		RootPanel rootPanel = RootPanel.get();
		rootPanel.setSize("", "");
		
		FlowPanel flowPanel = new FlowPanel();
		rootPanel.add(flowPanel, 10, 10);
		flowPanel.setSize("522px", "338px");
		
		Image image = new Image("images/w3schoolslogo.gif");
		flowPanel.add(image);
		
		LoginAppDescription loginAppDescription = new LoginAppDescription();
		loginAppDescription.setStyleName("gwt-LoginDescriptionBox");
		flowPanel.add(loginAppDescription);
		
		Login login = new Login();
		login.setStyleName("gwt-LoginBox");
		login.setSize("", "");
		flowPanel.add(login);
		
	}
}
